package com.shunda.system.mapper;

import com.shunda.system.domain.SysUserDutyLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: dongyq
 * @date: 2025/3/26 16:29
 * @since: 1.0.0
 * @功能描述:
 */
public interface SysUserDutyLogMapper {

    int updateUserBeforeDutyLogEndTime(@Param("userId") Long userId, @Param("status") String status);

    int insertUserDutyLog(SysUserDutyLog log);

    List<SysUserDutyLog> selectUserDutyLog(@Param("deptId") String deptId,@Param("userId")  String userId);
}
